package bme.data.datatypes {

	/**
	 * @author Rendall
	 */
	public dynamic class BRC_OccurrenceSet extends Array {
		public function BRC_OccurrenceSet(dataObj : Array = null) {
			trace("\n BRC_OccurrenceSet.BRC_OccurrenceSet( dataObj:" + dataObj + ")");
			super(dataObj.length);
			if (dataObj) compose(dataObj);
		}

		public function compose(oSet : Array) : void {
			for (var i : int = 0;i < oSet.length;i++) {
				var occ : BRC_Occurrence = new BRC_Occurrence(oSet[i]);
				this[i] = occ;
				
			}
		}
	}
}
